package com.wbl.train.common.member.dto;

import com.wbl.train.common.member.entity.MemberEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true) // 开启链式语法
public class MemberDto extends MemberEntity {
    // 登录用的验证码
    @Schema(description = "验证码")
    @NotBlank(message = "[验证码不能为空]")
    private String yanKing;
}
